package com.thb.pay.engine.request.impl;

import com.thb.pay.engine.request.RuleActionRequest;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * BaseRuleRequest
 *
 * <p>抽象类实现 基础规则请求内容</p>
 *
 * @author lucky
 * @since 2019-11-08
 */
public abstract class BaseRuleActionRequest<ID extends Serializable> extends BaseRuleNode<ID> implements RuleActionRequest<ID> {

    @Override
    public String scripts() {
        return null;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.SIMPLE_STYLE);
    }
}
